package cn.echisan.homework.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by echisan on 2018/5/30
 */
@Controller
@RequestMapping("/error")
public class ErrorController {

    @GetMapping
    public String renderError(){
        return "error";
    }
}
